<?php

/**
 * @author shuang
 * @date 2016-11-8 15:12:45
 */
use frontend\assets\AppAsset;
use yii\helpers\Html;
use yii\helpers\Url;

AppAsset::register($this);
$this->registerCssFile("/js/ui-dialog.css");
$this->registerJsFile("/js/dialog-plus-min.js", [\yii\web\JqueryAsset::className(), "depends" => "\yii\web\JqueryAsset"]);
$this->registerJsFile("/js/login-validate.js", [\yii\web\JqueryAsset::className(), "depends" => "\yii\web\JqueryAsset"]);
$this->registerJs('login()');
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="<?= Yii::$app->charset ?>"/>
        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-touch-fullscreen" content="yes">
        <meta name="keywords" content="微信刷投票,微信刷关注,加关注,微信刷阅读量,回复粉,微信刷粉丝,扫码关注,公众号刷粉,拉票助力任务群,微信手工投票,微信兼职群,图文点赞,公众平台刷粉丝,刷投票平台代理,微信个人号刷粉,刷粉投票平台"/>
        <meta name="description" content="“皓夜科技”集科研人员，历时2年时间打造的皓夜任务派发平台，秉承肩负微信业务为己任，服务社会大众所需为理念，“以客户为中心，以质量为宗旨”，帮助数以万计客户成功解决现实问题。为数以百万计的刷手解决就业问题" />
        <?= Html::csrfMetaTags() ?>
        <title>用户登陆 - 皓夜科技-任务发布平台 微信投票平台</title>
        <?php $this->head() ?>
    </head>
    <body  class="gray-bg">
        <?php $this->beginBody() ?>
        <div class="login-page">
            <div class="slogin">
                <div><h1 class="logo-name"><img src="/images/login.jpg"></h1></div>
                <h3>欢迎使用皓夜任务发布平台</h3>
                <form id="loginform" name="loginform" url="<?php echo Url::toRoute("site/login"); ?>">
                    <div class="form-group">
                        <input class="form-control" placeholder="用户名" name="txtUserName" id="txtUserName" type="text">
                    </div>
                    <div class="form-group">
                        <input class="form-control" placeholder="密码" name="txtPassword" id="txtPassword" type="password">
                    </div>
                    <div class="form-group">
                        <button type="submit"  id="btnSubmit" name="btnSubmit"   class="btn_task_list btn-primary">登 录</button>
                    </div>
                    <div id="msgtips" class="col tips"></div>
                    <p class="text-muted text-center "><a href="<?php echo Url::toRoute("site/signup"); ?>">没有账号？点击注册</a>
                    </p>
                </form>
            </div>
        </div>
        <?php $this->endBody() ?>
    </body>
</html>
<?php $this->endPage() ?>

